$(function(){
	var idArr = [
		[
            {name:1,sex:'男',bthDay:'1998-01-15',age:25,Job:'parent',tcHcu:'张上',EntryTime:10},
            {name:1,sex:'男',bthDay:'1998-01-15',age:25,Job:'parent',tcHcu:'张上',EntryTime:10},
            {name:1,sex:'男',bthDay:'1998-01-15',age:25,Job:'parent',tcHcu:'张上',EntryTime:10},
            {name:1,sex:'男',bthDay:'1998-01-15',age:25,Job:'parent',tcHcu:'张上',EntryTime:10},
            {name:1,sex:'男',bthDay:'1998-01-15',age:25,Job:'parent',tcHcu:'张上',EntryTime:10},
		]
		]
	var tableNameArr = ['部门管理','教师管理'];
	function setLocalStorage(arr){
		$.each(arr,function(i,n){
			localStorage.setItem(tableNameArr[i],JSON.stringify(n));
		})	
	};
	
	setLocalStorage(idArr);		
});

	
